<?php

 namespace com;

include "com/funcs/add.php";
interface comfunc{

   function printPI($b);
  
  }
   
$obj=new class implements  comfunc{
     function printPI($b)
     {
        echo "ccc\n".$b;
     }
};
$obj->printPI(55);